package com.xuecheng.content.model.dto;

import com.xuecheng.content.model.po.CourseCategory;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

import java.util.List;

/**
 * @author luhao
 * @ClassName CourseCategoryDto.java
 * @Description 课程分类响应前端数据
 * @createTime 2023/5/16
 */
@Data
@ToString(callSuper = true)
@ApiModel(description = "课程分类响应前端Dto")
public class CourseCategoryDto extends CourseCategory {
    @ApiModelProperty(value = "子节点")
    List<CourseCategoryDto> childrenTreeNodes;
}
